package com.deco.domain.vo.fix;

import com.free.utils.DateUtils;

import java.io.Serializable;
import java.util.Date;

public class FixTypeVo implements Serializable {

    private static final long serialVersionUID = 8687608266554186142L;

    private Integer id;

    private String typeName;

    private String remarks;

    private Integer status;

    private Date createTime;

    private Integer createBy;

    private Date updateTime;

    private Integer updateBy;
    
    private Integer sort;

    private String createTimeStr;

    private String updateTimeStr;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCreateTimeStr() {
        return DateUtils.convert2String(createTime,DateUtils.FormatEnum.yyyy_MM_dd_HH_mm_ss);
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getUpdateTimeStr() {
        return DateUtils.convert2String(updateTime,DateUtils.FormatEnum.yyyy_MM_dd_HH_mm_ss);
    }

    public void setUpdateTimeStr(String updateTimeStr) {
        this.updateTimeStr = updateTimeStr;
    }

    @Override
    public String toString() {
        return "FixTypeVo{" +
                "id=" + id +
                ", typeName='" + typeName + '\'' +
                ", remarks='" + remarks + '\'' +
                ", status=" + status +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateTime=" + updateTime +
                ", updateBy=" + updateBy +
                ", sort=" + sort +
                '}';
    }
}